﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ClassLibrary.Data;
using System.Data;

namespace ClassLibrary.DAO
{
    public class TblThongKeDAO
    {
        private DBService _db = null;
        public TblThongKeDAO(String ConnectionString)
        {
            _db = new DBService(ConnectionString);
        }

        public DataTable GetTKe()
        {
            DataTable dt = null;
            try
            {
                dt = _db.ExeSP_DataTable("sp_thongKe_Edit", false, CommandType.StoredProcedure);
            }
            catch (Exception ex)
            {
                throw ex;
            }
            return dt;
        }

    }
}
